package c.a.a.z.c;

import android.graphics.PointF;
import c.a.a.f0.a;
import c.a.a.f0.c;
import java.util.List;

/* compiled from: PointKeyframeAnimation */
public class j extends f<PointF> {
    public final PointF i = new PointF();

    public j(List<a<PointF>> list) {
        super(list);
    }

    public Object f(a aVar, float f) {
        Object obj = aVar.b;
        if (obj != null) {
            Object obj2 = aVar.c;
            if (obj2 != null) {
                PointF pointF;
                PointF pointF2 = (PointF) obj;
                PointF pointF3 = (PointF) obj2;
                c cVar = this.e;
                if (cVar != null) {
                    pointF = (PointF) cVar.a(aVar.e, aVar.f.floatValue(), pointF2, pointF3, f, d(), this.d);
                    if (pointF != null) {
                        return pointF;
                    }
                }
                pointF = this.i;
                float f2 = pointF2.x;
                f2 = c.b.a.a.a.a(pointF3.x, f2, f, f2);
                float f3 = pointF2.y;
                pointF.set(f2, ((pointF3.y - f3) * f) + f3);
                return this.i;
            }
        }
        throw new IllegalStateException("Missing values for keyframe.");
    }
}
